projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85eb934
)
* lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
author
Glenn Morris
<rgm@gnu.org>
Fri, 1 May 2015 17:39:23 +0000
(13:39 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Fri, 1 May 2015 17:39:23 +0000
(13:39 -0400)
lisp/emacs-lisp/pcase.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/pcase.el
b/lisp/emacs-lisp/pcase.el
index 978c3f0dd303d9adac3aff90161ca1c60e14951b..b4bf6404bef530a18308a7536ffe28d9e57d5df7 100644
(file)
--- a/
lisp/emacs-lisp/pcase.el
+++ b/
lisp/emacs-lisp/pcase.el
@@
-164,6
+164,9
@@
Currently, the following patterns are provided this way:"
(defun pcase--make-docstring ()
(let* ((main (documentation (symbol-function 'pcase) 'raw))
(ud (help-split-fundoc main 'pcase)))
+ ;; So that eg emacs -Q -l cl-lib --eval "(documentation 'pcase)" works,
+ ;; where cl-lib is anything using pcase-defmacro.
+ (require 'help-fns)
(with-temp-buffer
(insert (or (cdr ud) main))
(mapatoms